package com.ruoyi.system.domain;


import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.List;

/**
 * 入库单对象 warehousing
 * 
 * @author ruoyi
 * @date 2021-05-08
 */
public class Warehousing extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 入库单单号 */
    private Long id;

    /** 项目名称 */
    @Excel(name = "项目名称")
    private String proName;

    /** 项目编号 */
    @Excel(name = "项目编号")
    private String proNumber;

    /** 采购单单号 */
    @Excel(name = "采购单单号")
    private Long purId;

    /** 0甲供1乙购2退料 */
    @Excel(name = "0甲供1乙购2退料")
    private Integer type;

    /** 发票号 */
    @Excel(name = "发票号")
    private String  invoice;

    /** 出入库类型 */
    @Excel(name = "出入库类型")
    private int  oprType;

    /** 出入库状态 */
    @Excel(name = "出入库状态")
    private int  state;

    //入库单材料
    private List<PurchaseRecord> purchaseRecords;

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getProName() {
        return proName;
    }

    public void setProName(String proName) {
        this.proName = proName;
    }

    public String getProNumber() {
        return proNumber;
    }

    public void setProNumber(String proNumber) {
        this.proNumber = proNumber;
    }

    public Long getPurId() {
        return purId;
    }

    public void setPurId(Long purId) {
        this.purId = purId;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public List<PurchaseRecord> getPurchaseRecords() {
        return purchaseRecords;
    }

    public void setPurchaseRecords(List<PurchaseRecord> purchaseRecords) {
        this.purchaseRecords = purchaseRecords;
    }

    public String getInvoice() {
        return invoice;
    }

    public void setInvoice(String invoice) {
        this.invoice = invoice;
    }

    public int getOprType() {
        return oprType;
    }

    public void setOprType(int oprType) {
        this.oprType = oprType;
    }

    @Override
    public String toString() {
        return "Warehousing{" +
                "id=" + id +
                ", proName='" + proName + '\'' +
                ", proNumber='" + proNumber + '\'' +
                ", purId=" + purId +
                ", type=" + type +
                ", invoice='" + invoice + '\'' +
                ", oprType=" + oprType +
                ", state=" + state +
                ", purchaseRecords=" + purchaseRecords +
                '}';
    }
}
